package com.xxd.spring.boot.demo.wubolin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xxd.spring.boot.demo.wubolin.entity.Classes;


import java.util.List;
import java.util.Map;

public interface ClassesService {
    int add(Classes classes);
    int update(Classes classes);
    int delete(Integer id);
    IPage<Classes> listPage(Page page, Map<String,Object> params);
    List<Classes> list(Map<String,Object> params);
    Classes infoById(Integer id);
    List<Classes> all();
}
